package com.dingpeikeji.quickdeer.modules.rentproduct.entity;

import java.util.Date;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.dingpeikeji.quickdeer.core.modules.office.entity.SysOffice;
import com.dingpeikeji.quickdeer.core.modules.site.entity.TSitedtl;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.User;
import com.fasterxml.jackson.annotation.JsonIgnore;

public class ShareRentproduct extends DataEntity<ShareRentproduct> {
	
		private static final long serialVersionUID = 1L;
		// 拼车类型
		public static final String SHARE_TYPE_TRAVEL = "1"; // 旅游包车拼车
		public static final String SHARE_TYPE_AIR = "2"; //接送机拼车
		public static final String SHARE_TYPE_CJ = "3"; //城际拼车
		private String sid;
		private String officeId;
		private String productname;
		private String maxamount;
		private String minamount;
		private String daysnum;
		private String rentgrpid;
		private String rentid;
		private String cargotype;
		private String purchasenum;
		private Date fromdate;
		private String fromdateStr;
		private Date enddate;
		private String boardaddr;
		private String phone;
		private String contacts;
		private String usecupons = "0";//默认未使用
		private String cuponsId;
		private Double avgprice;
		private Double totalprice;
		private Integer currentsell;
		private String status;  //第一个人未付款0,付款之后改为1,正在进行拼车,拼车达到要求,改为2,代表拼车结束  delflag过期修改
		private String departsite;
		private String destsite;
		private String linepic;
		private String sharetype;  //拼车类型
		private String issuccess = "0";  
		private String sameid;//批量用
		private String type;
		private String destaddr;//下车地点
		private String jsjtype;//0接机 1送机
		private Date overdate;//下车时间
		private String departcity;
		private String destcity;
		@JsonIgnore
		private User user;
		@JsonIgnore
		private TRentgroup tRentgroup;
		@JsonIgnore
		private Office office;
		@JsonIgnore
		private TCargotype tCargotype;
		
		
		public String getDepartcity() {
			return departcity;
		}
		public void setDepartcity(String departcity) {
			this.departcity = departcity;
		}
		public String getDestcity() {
			return destcity;
		}
		public void setDestcity(String destcity) {
			this.destcity = destcity;
		}
		public String getJsjtype() {
			return jsjtype;
		}
		public void setJsjtype(String jsjtype) {
			this.jsjtype = jsjtype;
		}
		public Date getOverdate() {
			return overdate;
		}
		public void setOverdate(Date overdate) {
			this.overdate = overdate;
		}
		public String getDestaddr() {
			return destaddr;
		}
		public void setDestaddr(String destaddr) {
			this.destaddr = destaddr;
		}
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
		public String getIssuccess() {
			return issuccess;
		}
		public void setIssuccess(String issuccess) {
			this.issuccess = issuccess;
		}
		public String getSid() {
			return sid;
		}
		
		public String getSameid() {
			return sameid;
		}
		public void setSameid(String sameid) {
			this.sameid = sameid;
		}
		public String getFromdateStr() {
			return fromdateStr;
		}
		public void setFromdateStr(String fromdateStr) {
			this.fromdateStr = fromdateStr;
		}
		public void setSid(String sid) {
			this.sid = sid;
		}
		
		public Office getOffice() {
			return office;
		}
		
		public String getSharetype() {
			return sharetype;
		}
		public void setSharetype(String sharetype) {
			this.sharetype = sharetype;
		}
		public void setOffice(Office office) {
			this.office = office;
		}
		public TCargotype gettCargotype() {
			return tCargotype;
		}
		public void settCargotype(TCargotype tCargotype) {
			this.tCargotype = tCargotype;
		}
		public TRentgroup gettRentgroup() {
			return tRentgroup;
		}
		public void settRentgroup(TRentgroup tRentgroup) {
			this.tRentgroup = tRentgroup;
		}
		public User getUser() {
			return user;
		}
		public void setUser(User user) {
			this.user = user;
		}
		public String getMinamount() {
			return minamount;
		}
		public void setMinamount(String minamount) {
			this.minamount = minamount;
		}
		
		public String getLinepic() {
			return linepic;
		}
		public void setLinepic(String linepic) {
			this.linepic = linepic;
		}
		public String getDepartsite() {
			return departsite;
		}
		public void setDepartsite(String departsite) {
			this.departsite = departsite;
		}
		public String getDestsite() {
			return destsite;
		}
		public void setDestsite(String destsite) {
			this.destsite = destsite;
		}
		public String getStatus() {
			return status;
		}
		public void setStatus(String status) {
			this.status = status;
		}
		public Integer getCurrentsell() {
			return currentsell;
		}
		public void setCurrentsell(Integer currentsell) {
			this.currentsell = currentsell;
		}
		public String getCuponsId() {
			return cuponsId;
		}
		public void setCuponsId(String cuponsId) {
			this.cuponsId = cuponsId;
		}
		public String getProductname() {
			return productname;
		}
		
		public String getContacts() {
			return contacts;
		}
		public void setContacts(String contacts) {
			this.contacts = contacts;
		}
		public void setProductname(String productname) {
			this.productname = productname;
		}
		public String getMaxamount() {
			return maxamount;
		}
		public void setMaxamount(String maxamount) {
			this.maxamount = maxamount;
		}
		public String getDaysnum() {
			return daysnum;
		}
		public void setDaysnum(String daysnum) {
			this.daysnum = daysnum;
		}
		public String getRentgrpid() {
			return rentgrpid;
		}
		public void setRentgrpid(String rentgrpid) {
			this.rentgrpid = rentgrpid;
		}
		public String getRentid() {
			return rentid;
		}
		public void setRentid(String rentid) {
			this.rentid = rentid;
		}
		public String getCargotype() {
			return cargotype;
		}
		public void setCargotype(String cargotype) {
			this.cargotype = cargotype;
		}
		public String getPurchasenum() {
			return purchasenum;
		}
		public void setPurchasenum(String purchasenum) {
			this.purchasenum = purchasenum;
		}
		public Date getFromdate() {
			return fromdate;
		}
		public void setFromdate(Date fromdate) {
			this.fromdate = fromdate;
		}
		public Date getEnddate() {
			return enddate;
		}
		public void setEnddate(Date enddate) {
			this.enddate = enddate;
		}
		public String getBoardaddr() {
			return boardaddr;
		}
		
		public String getOfficeId() {
			return officeId;
		}
		public void setOfficeId(String officeId) {
			this.officeId = officeId;
		}
		public Date getCreateDate() {
			return createDate;
		}
		public void setCreateDate(Date createDate) {
			this.createDate = createDate;
		}
		public String getDelFlag() {
			return delFlag;
		}
		public void setDelFlag(String delFlag) {
			this.delFlag = delFlag;
		}
		public void setBoardaddr(String boardaddr) {
			this.boardaddr = boardaddr;
		}
		public String getPhone() {
			return phone;
		}
		public void setPhone(String phone) {
			this.phone = phone;
		}
		public String getUsecupons() {
			return usecupons;
		}
		public void setUsecupons(String usecupons) {
			this.usecupons = usecupons;
		}
		public Double getAvgprice() {
			return avgprice;
		}
		public void setAvgprice(Double avgprice) {
			this.avgprice = avgprice;
		}
		public Double getTotalprice() {
			return totalprice;
		}
		public void setTotalprice(Double totalprice) {
			this.totalprice = totalprice;
		}
		//拼车须知和费用明细
		public static  String SHARE_NOTES = "1、到达截止时间时，未达成团人数则视为拼车失败，款项自动退还原账户 ；\r\n"+
			"2、拼团过程中，可随时免费取消拼车；\r\n"+
			"3、拼车达到成团人数，则拼车成功，订单不支持退款；\r\n"+
			"4、1.2m以上视为成人必须购买成人票，1.2m以下儿童不占座可不用购票；\r\n"+
			"5、拼车成功后，请拼车人于出行当天至少提前20分钟到达上车地点，以便司机准时发车；\r\n"+
			"6、由于拼车人原因未准时上车，产生的损失由出行人自行承担；\r\n"+
			"7、行车具体车牌号及司机信息将于出行前1-2天以短信形式发给拼车人，请注意查收；\r\n"+
			"8、拼车过程中遇到任何问题，请咨询客服400－928－7733。";
		public static  String SHARE_FEE = "费用包含：【套餐价8小时300公里/天】司机代驾服务费、车辆使用费、车辆油电费、空驶费、"
				+ "夜间服务费、司机小费。费用不含：超时服务费、超公里费、司机食宿费、第三方收费。";
		public static  String SHARE_FEE_Air = "费用包含：【一价全包】全程司机代驾服务费、车辆使用费、车辆油电费、 空驶费、夜间服务费、"
				+ "司机小费、路桥费、 停车费、摆渡费。 费用不含：超时服务费（建议行车时间不超过12小时）、司机食宿费。";
		public static  String SHARE_GEN_NOTE = "1、到达截止时间时，未达成团人数则视为拼车失败，款项自动退还原账户 ；\r\n"
					+"2、拼团过程中，可随时免费取消拼车；\r\n"
					+"3、拼车达到成团人数，则拼车成功，订单不支持退款；\r\n"
					+"4、1.2m以上视为成人必须购买成人票，1.2m以下儿童不占座可不用购票；\r\n"
					+"5、拼车成功后，请拼车人于出行当天至少提前20分钟到达上车地点，以便司机准时发车；\r\n"
					+"6、由于拼车人原因未准时上车，产生的损失由出行人自行承担；\r\n"
					+"7、行车具体车牌号及司机信息将于出行前1-2天以短信形式发给拼车人，请注意查收；\r\n"
					+"8、拼车过程中遇到任何问题，请咨询客服400－928－7733。";
}